package com.ucl.common.util;

public class UploadUtils {

    public static final String resourcesPath = "\\src\\main\\resources\\";


    /**
     * 获取上传后的路径
     * @return
     */
    public static String getProjectPath() {
        return System.getProperty("user.dir");
    }

    /**
     * 获取 resources路径
     * @return
     */
    public static String getResourcesPath() {
        return getProjectPath() + resourcesPath;
    }

    /**
     * 获取 项目静态文件的路径
     * @return
     */
    public static String getStaticPath() {
        return getProjectPath() + resourcesPath + "static\\";
    }
}
